package com.myhome.service;
import com.myhome.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myhome.entity.RespBean;
import com.myhome.entity.RespPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-09-04
 */
public interface IEmployeeService extends IService<Employee> {

    RespPageBean getEmployeeWithPages(Integer currentPage, Integer size, Employee employee, LocalDate[] timeScope);

    RespBean getMaxId();

    RespBean addEmp(Employee employee);

    List<Employee> getEmployee(Integer id);
}
